package cn.ronghuanet.org.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {
    private Long id;
    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    private Integer age;
    private Integer sex;
    private Integer state;
    private Department department;  // 一个员工有一个部门
    private Long logininfoId;
    private String realName;

    private Shop shop;  // 员工所属的当前正在操作的店铺信息
}
